Spread Windows Forms 15.0
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / ListBase<T> Class / ListBase<T> Constructor / ListBase<T> Constructor(Int32)
The number of elements that the new list can initially store.


In This Topic
    ListBase<T> Constructor(Int32)
    In This Topic
    Initializes a new instance of the ListBase<T> class that is empty and has the specified initial capacity.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal capacity As Integer _
    )
    'Usage
     
    
    Dim capacity As Integer
     
    Dim instance As New ListBase(Of T)(capacity)
    public ListBase<T>( 
       int capacity
    )

    Parameters

    capacity
    The number of elements that the new list can initially store.
    See Also